﻿/***********************/
/* (c) Alexandru Lungu */
/*  Challenge is Life! */
/* www.challenge-me.ws */
/***********************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.ServiceModel;

using Coowork.WcfCommon;
using Coowork.Data;




namespace  Coowork.WcfServer
{
    public static class AppServer
    {
        static ServiceHost host;

        static AppServer()
        {
            host = new ServiceHost(typeof(ServerInfoService));
        }

        public static void Start()
        {
            host.Open();
        }

        public static void Close()
        {
            host.Close();
        }
    }
}
